package com.gump.mall.modules.ums.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.gump.mall.modules.ums.mapper.UmsAdminRoleRelationMapper;
import com.gump.mall.modules.ums.model.UmsAdminRoleRelation;
import com.gump.mall.modules.ums.service.UmsAdminRoleRelationService;

/**
 * @auther zzc
 * @date 2020/9/10 16:20
 * 概要：
 */

@Service
public class UmsAdminRoleRelationServiceImpl implements UmsAdminRoleRelationService {

    @Resource
    private UmsAdminRoleRelationMapper umsAdminRoleRelationMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return umsAdminRoleRelationMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(UmsAdminRoleRelation record) {
        return umsAdminRoleRelationMapper.insert(record);
    }

    @Override
    public int insertSelective(UmsAdminRoleRelation record) {
        return umsAdminRoleRelationMapper.insertSelective(record);
    }

    @Override
    public UmsAdminRoleRelation selectByPrimaryKey(Long id) {
        return umsAdminRoleRelationMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(UmsAdminRoleRelation record) {
        return umsAdminRoleRelationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(UmsAdminRoleRelation record) {
        return umsAdminRoleRelationMapper.updateByPrimaryKey(record);
    }

}
